<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="/common/_container :: htmlhead"></head>
<body>
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal">
		
			<input type="hidden" id="id" value=""/>

			<div class="row">
				<div class="col-sm-6">
					<div class="form-group">
					    <label class="col-sm-3 control-label">version_name				    
					    	<span style="color: red">*</span>
					    </label>
					    <div class="col-sm-9">
					        <input class="form-control" id="versionName" type="text" />
					    </div>
					</div>
					<div class="hr-line-dashed"></div>				
				</div>
				<!-- 
				<div class="col-sm-6">
					<div class="form-group">
					    <label class="col-sm-3 control-label">version_code				    
					    </label>
					    <div class="col-sm-9">
					        <input class="form-control" id="versionCode" type="text" disabled="disabled" />
					       
					    </div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				-->
				<div class="col-sm-6">
					<div class="form-group">
					    <label class="col-sm-3 control-label">name				    
					    	<span style="color: red">*</span>
					    </label>
					    <div class="col-sm-9">
					        <input class="form-control" id="name" type="text" />
					    </div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				
				<div class="col-sm-6">					
					<div class="form-group">
					    <label class="col-sm-3 control-label">强制更新					    
					    	<span style="color: red">*</span>
					    </label>
					    <div class="col-sm-9">
					        <select class="form-control" id="isForce">
					           <option value="0">否</option>
								<option value="1">是</option>
					        </select>					       
					    </div>
					</div>
					<div class="hr-line-dashed"></div>	
				</div>
				

				

				<div class="col-sm-6">
					<div class="form-group">
					    <label class="col-sm-3 control-label">size				    
					    	<span style="color: red">*</span>
					    </label>
					    <div class="col-sm-9">
					        <input class="form-control" id="size" type="text" disabled="disabled" />
					    </div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				<div class="col-sm-6">
					<div class="form-group">
					    <label class="col-sm-3 control-label">md5				    
					    	<span style="color: red">*</span>
					    </label>
					    <div class="col-sm-9">
					        <input class="form-control" id="md5" type="text" disabled="disabled" />
					    </div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				
				
				<div class="col-sm-6 b-r">                                       
                    <div class="form-group">
						<label class="col-sm-3 control-label head-scu-label">文件</label>
						<div class="col-sm-2">
							<div class="head-scu-btn upload-btn" id="apkBtnId" onclick="apk_version.selectFile()">
								<i class="fa fa-upload"></i>&nbsp; 
							</div>
						</div>
						<input type="file" id="fileUploadBtn" style="display:none" onchange="apk_version.uploadFile()"/>
						<input type="hidden" id="url" />  
					</div>
					<div class="hr-line-dashed"></div>
                </div>
                <div class="col-sm-6">
					<div class="form-group">
					    <label class="col-sm-3 control-label">discription				    
					    	<span style="color: red">*</span>
					    </label>
					    <div class="col-sm-9">
					        <!-- <input class="form-control" id="updateContent" type="text" />-->
					        <textarea rows="5" cols="70" id="updateContent"></textarea>
					    </div>
					</div>
					<div class="hr-line-dashed"></div>
				</div>
				
				
			</div>


			<div class="row btn-group-m-t">
				<div class="col-sm-10">
	               	 <button type="button" class="btn btn-info" id="ensure" onclick="apk_version.addSubmit()" >
						   <i class="fa fa-check"></i>&nbsp;提交
					</button>
					<button type="button" class="btn btn-danger"  id="cancel" onclick="apk_version.close()" >
						   <i class="fa fa-eraser"></i>&nbsp;取消
					</button>                   
                </div>
			</div>
		</div>

	</div>
</div>
<script th:src="@{/static/modular/system/version/apk_version_info.js}"></script>
</body>
</html>
